package com.isoft.data.dao;


import com.isoft.data.xml.DFME_FETT;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface DFME_FETT_Dao {
    @Insert("INSERT INTO AIRPORT.META(SNDR,RCVR,SEQN,DDTM,TYPE,STYP)" +
            "VALUES(#{DFME_FETT.META.SNDR},#{DFME_FETT.META.RCVR},"+
            "#{DFME_FETT.META.SEQN},#{DFME_FETT.META.DDTM},"+
            "#{DFME_FETT.META.TYPE},#{DFME_FETT.META.STYP})")
    public int addMETA(@Param("DFME_FETT") DFME_FETT DFME_FETT);
    @Insert("INSERT INTO AIRPORT.FETT(SEQN,DDTM,FLID,FFID,FIDE,FETT,FELT)" +
            "VALUES(#{DFME_FETT.META.SEQN},#{DFME_FETT.META.DDTM}," +
            "#{DFME_FETT.FETT.FLID},#{DFME_FETT.FETT.FFID}, #{DFME_FETT.FETT.FIDE}," +
            "#{DFME_FETT.FETT.FETT}, #{DFME_FETT.FETT.FELT})")
    public int addFETT(@Param("DFME_FETT") DFME_FETT DFME_FETT);
}
